package com.lai.hospital.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.vo
 * @Description: 前台预约信息
 * @date Date : 2023年02月18日 18:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "预约信息")
public class AppointmentPreviewVO {

    /**
     * 医生id
     */
    @NotBlank(message = "医生id不能为空")
    @ApiModelProperty(name = "doctorId", value = "医生id", required = true, dataType = "Integer")
    private Integer doctorId;

    @NotBlank(message = "就诊人id不能为空")
    @ApiModelProperty(name = "patientId", value = "就诊人id", required = true, dataType = "Integer")
    private Integer patientId;
    /**
     * 预约时间
     */
    @ApiModelProperty(name = "appointmentTime", value = "预约时间", required = true, dataType = "String")
    private String appointmentTime;


}
